<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>蜀云</title>
<meta name="keywords" content="蜀云" />
<meta name="description" content="蜀云" />
<link href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/css/default.css?v=<?php echo(Yii::app()->params['app']['version'])?>" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo Yii::app()->params["app"]["name"] ?>， 爱分享 云生活</title>
<link rel="stylesheet" type="text/css" href="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/css/style.css?v=<?php echo(Yii::app()->params['app']['version'])?>" media="all" />
<script type="text/javascript">document.domain=window.location.host;</script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/js/jquery_min.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/common_set_validate.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script>
<script src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/setting/js/tip.js?v=<?php echo(Yii::app()->params['app']['version'])?>" type="text/javascript"></script> 
</head>
<style>
.errorSummary {
border: 2px solid #C00;
padding: 7px 7px 12px 7px;
margin: 0 0 20px 0;
background: #FEE;
font-size: 0.9em;
}
</style>
<script language="javascript">
<?php if($modifySuccess){?>
        $(document).ready(function(){
            $.successTip("修改密码成功！");
        });
<?php }?> 
</script>
</head>
<body>
<div class="midspan">
   <div class="pass">
	   <?php $form=$this->beginWidget('CActiveForm', array()); ?>
        <?php echo $form->errorSummary($model); ?>
		   <ul>
		     <li><label>当前密码：</label><?php echo $form->passwordField($model,'oldPasswd',array('size'=>20,'minlength'=>6)); ?><span>输入错误</span></li>
			 <li><label>新 密 码：</label><?php echo $form->passwordField($model,'passwd',array('size'=>20,'minlength'=>6)); ?></li>
			 <li><label>再次输入：</label><?php echo $form->passwordField($model,'passwdConfirm',array('size'=>20,'minlength'=>6)); ?></li>
		   </ul> 
		   <div class="but"><?php echo CHtml::submitButton('',array('class'=>'but_pass')); ?></div> 
	   <?php $this->endWidget(); ?>
   </div>
   <div class="point">
	     <div class="point_left">
	       <img src="<?php echo(Yii::app()->params['app']['host'])?>/statics/web/images/tishi.gif" />
		 </div>
		 <div class="point_right">
	        <p>请将登录密码设置为8位以上，数字、大小写字母、特殊字符混合型是相对安全的。</p>
			<p>为了保护您帐号的安全，请不要将密码设置为与其它网站（如：其它游戏、邮箱、聊天工具等）相同的密码。</p>
			<p>建议您每隔一段时间修改一次登录密码，以防密码泄漏。</p>
	     </div>
     </div>
</div><!-- midspan -->
</body>
</html>